package com.mdhw.system.vo;

import com.mdhw.system.entity.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class SysUserVo extends SysUser implements Serializable {


    private String token;

    /**
     * 登录IP
     */
    private String lastLoginIp;

    /**
     * 注册IP
     */
    private String registerIp;
    /**
     * 1系统用户 2供应链用户
     */
    private String userType;

    private String name;

    @ApiModelProperty(value = "出售比例 100 为供应商成本原价")
    private BigDecimal csBl;




    @ApiModelProperty(value = "是否Admin 用户")
    private Boolean isAdmin;

    @ApiModelProperty(value = "是否供应商")
    private Boolean isChannel;

    @ApiModelProperty(value = "是否渠道商")
    private Boolean isBusiness;

    @ApiModelProperty(value = "角色ID List")
    private List<Long> roleIdList;

    @ApiModelProperty(value = "菜单信息 List")
    private List<SysMenuVo> sysMenuVoList;

    @ApiModelProperty(value = "菜单信息 菜单列表 List")
    private List<SysMenuVo> sysMenuVoList2;

    @ApiModelProperty(value = "角色信息 List")
    private List<SysRoleVo> sysRoleVoList;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @ApiModelProperty(value = "角色名称")
    private String roleName;
    private String roleCode;





    /**
     * 银行
     */
    @ApiModelProperty(value = "银行")
    private String bankName;

    /**
     * 银行卡号
     */
    @ApiModelProperty(value = "银行卡号")
    private String bankNo;

    /**
     * 支行
     */
    @ApiModelProperty(value = "支行")
    private String bankBranch;

    /**
     * 是否同步 0 否 1 是
     */
    @ApiModelProperty(value = "是否同步 0 否 1 是")
    private String isSyncOrder;

    @ApiModelProperty(value = "状态值")
    private String statusValue;

    private String qudaozhuValue;

    private String adminValue;

    private String tongbubiaoji;

    @ApiModelProperty(value = "验证码")
    private String code;

    /**
     * 发送验证类型（1：注册，2：登录，3：修改密码, 4. 注销）
     */
    @ApiModelProperty(value = "发送验证类型（1：注册，2：登录，3：修改密码 4. 注销）")
    private String type;
    @ApiModelProperty(value = "收益")
    private BigDecimal shouyi;
    @ApiModelProperty
    private Integer zhiyingrenshu;

    private Integer tuanduirenshu;

    private String levelValue;

    private String payPwd;

    private List<String> gonggao;

    private List<String> yonghuxieyi;

    private List<String> yinsixieyi;

    private String zhituirenPhone;

    private Boolean isSystem;

    private Integer jifen;



}
